STEP 11: Let's have the sprite tell us what time of day it is right now.

  • Go to and drag Adding Strings to the bottom of main(). Change "Thing 1" to "Right now it's ". Replace the string "Thing 2" with the variable time_of_day. Make sure not to delete the + sign!
  • In GRAPHICS, go to and drag Say to the next line. Replace the say text with my_var.
  • Drag in Wait onto the next line in main().

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)